function [ featureVector ] = FeatureExtraction( filePath )
%FeatureExtraction: takes the given file path and extracts the features of
%the image returning the feature vector

image = imread(filePath);

mask = MaskImage(image);

%Constants
minBoyCol = 80 / 360;
maxBoyCol = 280 / 360;
minGirlCol = 290 / 360;
maxGirlCol = 70 / 360;
minColSat = 0.6;
minColVal = 0.5;
%Extraction
[BoyCol,GirlCol] = CountColorPixel(image,mask,minBoyCol,maxBoyCol, ...
    minGirlCol,maxGirlCol,minColSat,minColVal);

%Constants
minPastelSat = 0.1;
maxPastelSat = 0.6;
minPastelVal = 0.6;
%Extraction
Pastel = CountPastelPixel(image,mask,minPastelSat, ...
    maxPastelSat,minPastelVal);

%Constants
minWhiteVal = 0.8;
maxWhiteSat = 0.1;
maxBlackVal = 0.2;
%Extraction
[Black,White] = CountBWPixel(image,mask,minWhiteVal, ...
    maxWhiteSat,maxBlackVal);

featureVector = [BoyCol,GirlCol,Pastel,Black,White];

end

